go build
ports=(8080 8081 8082)
let i=0
let pport=9090
# shellcheck disable=SC2068
for port in ${ports[@]} ; do
    cnt=$(ps -ef| grep ${port}|grep -v grep |wc -l)
    if [[ cnt -eq 0 ]]; then
        nohup ./cluster-cache -h 0.0.0.0:${port} -i ${i} -p ${pport} > ./data/${port}.log 2>&1 &
    fi
    let i=i+1
    let pport=pport+1
done
sleep 2
ps -ef|grep cluster
netstat -anp|grep 808
